﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using HFController;
namespace HFWebApp.Control
{
    public partial class end : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                //文字连接
                txtLink_Rpt.DataSource = AdController.getController().getAdList(23, 0, 1);
                txtLink_Rpt.DataBind();

                //图片连接
                picLink_Rpt.DataSource = AdController.getController().getAdList(7, 1, 1);
                picLink_Rpt.DataBind();
            }
        }
    }
}